import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './routes'
// import { setTitie } from '@/utils'

Vue.use(VueRouter)
const router = new VueRouter({
  routes
})
/* router.afterEach((to, form) => {
  setTitie.perfix(to.meta ? to.meta.name : '')
}) */

export default router
